package com.example.system.domain.sysUser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class LoginDTO {
    //swagger
    @Schema(description = "用户账号")
    //JBV //后端参数校验
    @NotBlank(message = "用户账号不能为空")
    private String userAccount;

    @Schema(description = "用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;
}
